class DefaultController < ApplicationController

    ##########################################################
    # display the home page
    def index
      @languages = Language.find(:all, :order => "name")
    end
  
#    def refresh_index
#      Entry.solr_commit('en')
#      Entry.solr_commit('es')
#      Entry.solr_commit('zh')
#      Entry.solr_commit('ru')
#      Entry.solr_commit('de')
#      Entry.solr_commit('nl')
#      Entry.solr_commit('fr')
#      Entry.solr_commit('ja')
#      render_text "index_refreshed"
#    end
end
